package com.xxx.config;

import com.xxx.jdbc.JdbcConfig;
import org.springframework.context.annotation.*;

/**
 * @version v1.0
 * @Description:
 * @Author zhanzhongxin
 * @Date 2021/8/17 9:56
 * @Copyright 博为峰
 */
@Configuration//配置类
@ComponentScan("com.xxx")
@Import(JdbcConfig.class)
public class SpringConfig {

//    @Bean(name = "jdbcConfig")
//    public JdbcConfig getJdbcConfig() {
//        return new JdbcConfig();
//    }

}
